﻿CREATE PROCEDURE [dbo].[ETL_SP_GetMappedDtTableTotal]
	@Filter nvarchar(64)
AS
	SELECT  Count(T.Id) as [Total] from ETL_DtTable as T 
	where T.Name like '%'+@Filter+'%' and T.Id in (select M.DtTableId from ETL_DtSourceMapping as M)
RETURN 0
